package com.mauth.web.service;

import com.mauth.common.entity.auth.AuthorizedCode;

public interface AuthorizedCodeService {
    AuthorizedCode generateCode(String userSeq, Integer clientId, Integer expires);

    boolean validCode(String code);

    void deleteAuthorizedCode(Integer id);

    AuthorizedCode getAuthorizedCode(String code);
}
